package com.ruoyi.trace.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 溯源仪信息对象 BUS_TRACE_BASEINFO
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class BusTraceBaseinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentname;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String devsn;

    /** 安装地址 */
    @Excel(name = "安装地址")
    private String address;

    /** 溯源类型 1-河道溯源 2-企业溯源 3-行业溯源 4-面源溯源 5-手持溯源仪 */
    @Excel(name = "溯源类型 1-河道溯源 2-企业溯源 3-行业溯源 4-面源溯源 5-手持溯源仪")
    private String tracetype;

    /** 管控目的 */
    @Excel(name = "管控目的")
    private String controlgoal;

    /** 经度 */
    @Excel(name = "经度")
    private Double longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private Double latitude;

    /** 负责人 */
    @Excel(name = "负责人")
    private String principal;

    /** 负责人电话 */
    @Excel(name = "负责人电话")
    private String phone;

    /** 是否启用 0-停用 1-启用 */
    @Excel(name = "是否启用 0-停用 1-启用")
    private Integer isenable;

    /** 溯源仪溯源范围坐标集 */
    @Excel(name = "溯源仪溯源范围坐标集")
    private String coordinaterange;

    private Date createtime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setEquipmentname(String equipmentname) 
    {
        this.equipmentname = equipmentname;
    }

    public String getEquipmentname() 
    {
        return equipmentname;
    }

    public void setDevsn(String devsn) 
    {
        this.devsn = devsn;
    }

    public String getDevsn() 
    {
        return devsn;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setTracetype(String tracetype) 
    {
        this.tracetype = tracetype;
    }

    public String getTracetype() 
    {
        return tracetype;
    }

    public void setControlgoal(String controlgoal) 
    {
        this.controlgoal = controlgoal;
    }

    public String getControlgoal() 
    {
        return controlgoal;
    }

    public void setLongitude(Double longitude) 
    {
        this.longitude = longitude;
    }

    public Double getLongitude() 
    {
        return longitude;
    }

    public void setLatitude(Double latitude) 
    {
        this.latitude = latitude;
    }

    public Double getLatitude() 
    {
        return latitude;
    }

    public void setPrincipal(String principal) 
    {
        this.principal = principal;
    }

    public String getPrincipal() 
    {
        return principal;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setIsenable(Integer isenable) 
    {
        this.isenable = isenable;
    }

    public Integer getIsenable() 
    {
        return isenable;
    }

    public void setCoordinaterange(String coordinaterange) 
    {
        this.coordinaterange = coordinaterange;
    }

    public String getCoordinaterange() 
    {
        return coordinaterange;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentname", getEquipmentname())
            .append("devsn", getDevsn())
            .append("address", getAddress())
            .append("tracetype", getTracetype())
            .append("controlgoal", getControlgoal())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("principal", getPrincipal())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("isenable", getIsenable())
            .append("coordinaterange", getCoordinaterange())
            .toString();
    }
}
